Annotation

abstract class Annotation : Comparable<T>

Deprecated

Annotation is an overlay on top of a Map.

Known subclasses are Polygon, Polyline and Marker.

This class manages attachment to a map and identification, but does not require content to be placed at a geographical point.

Deprecated

As of 7.0.0, use Mapbox Annotation Plugin instead

Functions

Link copied to clipboard
open fun compareTo(@NonNull annotation: Annotation): Int
Compares this Annotation object with another Annotation.
Link copied to clipboard
open fun equals(@Nullable object: Any): Boolean
Checks if this Annotation object is equal to another Annotation.
Link copied to clipboard
open fun hashCode(): Int
Gives an integer which can be used as the bucket number for storing elements of the set/map.
Link copied to clipboard
open fun remove()
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapboxMap(mapboxMap: MapboxMap)
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapView(mapView: MapView)
Do not use this method, used internally by the SDK.

Properties

Link copied to clipboard
open var id: Long
The annotation id Internal C++ id is stored as unsigned int.

Inheritors

Link copied to clipboard
Link copied to clipboard